<include file="./Public/Home/header.html" />
<div class="curriculumList">
    <div class="curriculumList_content">
        <ul>
            <volist name="lists" id="course">
            <li>
                <div class="curriculumList_title clear">
                    <span>{$course.courseInfo.name}</span>
                    <a href="{:U('UserCenter/Soldbuch',array('course_id'=>$course['id']))}">查看士兵证</a>
                    <?php if($course['courseInfo']['endtime']<date('Y-m-d H:i:s',time())): ?>
                    <span>课程结束</span>
                    <?php elseif($course['courseInfo']['startime'] > date("Y-m-d H:i:s",time())) : ?>
                    <span>未开始</span>
                    <?php else: ?>
                    <a href="{:U('UserCenter/task',array('id'=>$course['id']))}">周任务</a>
                    <span>正在进行中...</span>
                    <?php endif; ?>
                </div>
                <div class="curriculumList_introduce">
                    <a href="javascript:void(0)"> <p>{$course.courseInfo.value}</p></a>
                </div>
            </li>
            </volist>
        </ul>
    </div>
</div>
<include file="./Public/Home/footer.html" />